﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Datalib
{
    [ServiceContract(CallbackContract = typeof(IClientFunctions))]
    public interface IHostFunctions
    {
        [OperationContract]
        void connect();

        [OperationContract]
        void disconnect();

        [OperationContract]
        void send(ChatMessage cm);
    }
}
